package com.chouxiaozi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import rule.MyRandomRule;

@SpringBootApplication
@EnableEurekaClient
// 替换默认轮询规则
// @RibbonClient(name = "PROVIDER-PAYMENT", configuration = MyRandomRule.class)
public class ConsumerOrderMain80 {

    public static void main(String[] args) {
        SpringApplication.run(ConsumerOrderMain80.class, args);
    }

}
